package com.gezi.admin.utils.excel;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.poi.ss.usermodel.IndexedColors;

/**
 * @Author 格子代码
 * @createDate 2024/2/10 09:00
 * @contact 1424529270@qq.com
 */
@Data
@AllArgsConstructor
@ExcelTable()
public class ExcelTestModel {

    @ExcelColumn(name = "姓名",color = IndexedColors.BLACK)
    private String name;

    @ExcelColumn(name = "性别",backgroundColor = IndexedColors.WHITE)
    private String sex;

    @ExcelColumn(name = "年龄",backgroundColor = IndexedColors.WHITE)
    private Integer age;
}
